package com.sun.listener;

import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;

/**
 * @Author Sun
 * @Date 2020/4/23 17:40
 * @Version 1.0
 */
public class Adapter extends WindowAdapter {
    //适配器，可以选择性的重写窗口相关事件，而非全部实现接口的方法
    @Override
    public void windowClosing(WindowEvent e) {
        super.windowClosing(e);
    }
}
